package name.hankc.spring;

import name.hankc.spring.bean.PersonP;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class InjectValuePropApplication {

  public static void main(String[] args) throws Exception {
    ApplicationContext ctx = new AnnotationConfigApplicationContext(InjectValueConfiguration.class);
    PersonP personP = ctx.getBean(PersonP.class);
    System.out.println("simple value : " + personP);
  }
}